package com.zb.service;

import com.zb.model.*;

import java.util.List;

public interface ManagerService {
		public int userSumCount();
		
		public List<TUser> userList();
		
		public List<TOrder> orderList();
		
		public TAdmin selectAdmin(String username,String password);
		
		public void delUserByUserId(String userId);
		
		public void addUser(TUser user);
		
		public void reUser(TUser user);
		
		public List<TGoods> selectAllGoodsInDB();
		
		public void addGoods(TGoods goods);
		
		public void reGoods(TGoods goods);
		
		public void reStock(TGoods goods);
	
		public void deleteGoods(String goodsid);
		
		public void deleteOrder(String orderid);
		
		public List<TUser> dimSelectService(String users_dimSearch);
		
		public List<TCategory> dimCateSelectService(String cates_dimSearch);
		
		public List<TOrder> dimOrderSelectService(String orders_dimSearch);
		
		public List<TOrder> findOrdersService();
}
